do_auth

function do_auth(required_flags: list<text>): account